


    #封装ihrm断言方法
class TestIhrmAssert:
        @classmethod
        def ihrm_assert(cls, login_resp, status_code, success, code, message):
            assert status_code == login_resp.status_code
            assert success == login_resp.json().get('success')
            assert code == login_resp.json().get('code')
            assert message == login_resp.json().get('message')